import request from '/@/utils/request';

/**
 *
 * 中心数据
 */

export function prebookApi() {
    return {
        getPreBook: (params) => {
            return request({
                url: '/statistics/prebook/get',
                method: 'get',
                params:params,
            });
        },

        getPreBookFinsih: (params) => {
            return request({
                url: '/statistics/finished/get',
                method: 'get',
                params:params,
            });
        },
        getPreBookRatio: (params) => {
            return request({
                url: '/statistics/daytime/ratio/get',
                method: 'get',
                params:params,
            });
        },



    }
}
